const router = require('koa-router')()
router.prefix('/uploads')

const {
    verifyAuth
} = require('../middleware/auth_middleware');
const {
    bookHandler,
} = require('../middleware/file_middleware');
const {
    saveBookInfo
} = require('../controller/file_controller');
// router.post("/book", verifyAuth, bookHandler, saveBookInfo);
router.post("/book",verifyAuth,saveBookInfo);
module.exports=router